/*
 * Created on 26/02/2004
 *
 * To change the template for this generated file go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
package org.potiorb.orb.portable;


import org.potiorb.orb.ORBImpl;

public class ObjectRef extends Delegate{
	private String host;
	private String port;
	private String keyobject;
	private ORBImpl orb;
	
	/**
	 * @return Returns the host.
	 */
	public String getHost() {
		return host;
	}

	/**
	 * @param host The host to set.
	 */
	public void setHost(String host) {
		this.host = host;
	}

	/**
	 * @return Returns the keyobject.
	 */
	public String getKeyobject() {
		return keyobject;
	}

	/**
	 * @param keyobject The keyobject to set.
	 */
	public void setKeyobject(String keyobject) {
		this.keyobject = keyobject;
	}

	/**
	 * @return Returns the port.
	 */
	public String getPort() {
		return port;
	}

	/**
	 * @param port The port to set.
	 */
	public void setPort(String port) {
		this.port = port;
	}

	/* (non-Javadoc)
	 * @see org.potiorb.orb.portable.Delegate#duplicate(java.lang.Object)
	 */
	public Object duplicate(Object self) {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see org.potiorb.orb.portable.Delegate#release(java.lang.Object)
	 */
	public void release(Object self) {
		// TODO Auto-generated method stub
		
	}

	/* (non-Javadoc)
	 * @see org.potiorb.orb.portable.Delegate#is_a(java.lang.Object, java.lang.String)
	 */
	public boolean is_a(Object self, String repository_id) {
		// TODO Auto-generated method stub
		return false;
	}

	/* (non-Javadoc)
	 * @see org.potiorb.orb.portable.Delegate#non_existent(java.lang.Object)
	 */
	public boolean non_existent(Object self) {
		// TODO Auto-generated method stub
		return false;
	}

	/* (non-Javadoc)
	 * @see org.potiorb.orb.portable.Delegate#is_equivalent(java.lang.Object, java.lang.Object)
	 */
	public boolean is_equivalent(Object self, Object rhs) {
		// TODO Auto-generated method stub
		return false;
	}

	/* (non-Javadoc)
	 * @see org.potiorb.orb.portable.Delegate#hash(java.lang.Object, int)
	 */
	public int hash(Object self, int max) {
		// TODO Auto-generated method stub
		return 0;
	}

	/**
	 * @return Returns the orb.
	 */
	public ORBImpl getOrb() {
		return orb;
	}

	/**
	 * @param orb The orb to set.
	 */
	public void setOrb(ORBImpl orb) {
		this.orb = orb;
	}

}
